



########### next target ###############

set(kcal_tvanytime_LIB_SRCS 
   kcal_resourcetvanytime.cpp 
   kcal_resourcetvanytimeconfig.cpp 
   kcal_tvanytimeprefs.cpp 
   service.cpp 
   kcal_resourcetvanytime_plugin.cpp )


kde4_add_kcfg_files(kcal_tvanytime_LIB_SRCS kcal_tvanytimeprefsbase.kcfgc )

kde4_add_library(kcal_tvanytime SHARED ${kcal_tvanytime_LIB_SRCS})

target_link_libraries(kcal_tvanytime  ${KDE4_KDECORE_LIBS} ${KDEPIMLIBS_KCAL_LIBS} kdepim)

set_target_properties(kcal_tvanytime PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kcal_tvanytime ${INSTALL_TARGETS_DEFAULT_ARGS})


########### next target ###############

set(kcal_tvanytime_PART_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp )


file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/dummy.cpp "//autogenerated file by cmake\n")
kde4_add_plugin(kcal_tvanytime ${kcal_tvanytime_PART_SRCS})



target_link_libraries(kcal_tvanytime  ${KDE4_KDECORE_LIBS} )

install(TARGETS kcal_tvanytime  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install( FILES kcal_tvanytime.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal)


